package com.nulldev.util.internal.backport.httpclient_rw;

import java.net.InetSocketAddress;

class PlainProxyConnection extends PlainHttpConnection {

	PlainProxyConnection(InetSocketAddress proxy, HttpClientImpl client) {
		super(proxy, client);
	}

	@Override
	ConnectionPool.CacheKey cacheKey() {
		return new ConnectionPool.CacheKey(null, address);
	}

	@Override
	public boolean isProxied() {
		return true;
	}
}